package com.wjjun.base.widget.status.viewmodel

import androidx.databinding.ObservableField
import com.wjjun.base.R
import com.wjjun.base.ui.viewmodel.BaseWindowViewModel
import com.wjjun.base.widget.status.Status

/**
 * 加载界面状态ViewModel
 * author : wangjunjun
 * date   : 2022/6/20
 * desc   :
 */
open class StatusPagerViewModel(open val status: Status) : BaseWindowViewModel() {

    val icon = ObservableField<Int>(0)

    val msg = ObservableField<String>("")

    val btnName = ObservableField("刷新")


    override fun getLayoutId(): Int {
        return R.layout.view_status_page
    }


}